const COS = require('cos-nodejs-sdk-v5')
const request = require('request')

const cos = new COS({
  SecretId: 'AKIDIQN4b2FEyVnqtiMp31kCOQCiz1nyuc5J',
  SecretKey: '0kESQ9cpeEZCJI2YpsfDVWHo69wTkma9',
  FileParallelLimit: 3,
  ChunkSize: 1024 * 1024 * 8,
  Proxy: '',
  Protocol: 'https',
  FollowRedirect: false
})
const Bucket = 'young-1306090592'
const Region = 'ap-guangzhou'

cos.putObject({
  Bucket,
  Region,
  Key: 'Example',
  StorageClass: 'STANDARD',
  // Body: 
})



module.exports = cos